<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
  let arr=[]
   function fn(arr){
    let h=parseInt(sum/60/60%24)
     h =h<10 ? '0'+h:h
    let m=parseInt(sum/60%60)
    m =m<10 ? '0'+m:m
    let s=parseInt(sum%60)
    s =s<10 ? '0'+s:s
    return [h+'小时'+m+'分钟'+s+'秒']
   }
   let sum=+prompt()
   let n=fn(sum)
   document.write(`转换完毕之后是`+n)
      </script>
    
</body>
</html>